home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / pvm34b3.zip / pvm34b3 / pvm3 / lib / debugger < prev    next >
Text File  |  1997-07-22  |  559b  |  27 lines

  1. #!/bin/csh -f
  2. #
  3. #    $Id: debugger,v 1.1 1996/09/23 21:15:39 pvmsrc Exp $
  4. #
  5. #    debugger.csh
  6. #
  7. #    this script is invoked by the pvmd when a task is spawned with
  8. #    the PvmTaskDebug flag set.  it execs an xterm with script
  9. #    debugger2 running inside.
  10. #
  11. #    06 Apr 1993  Manchek
  12. #
  13.  
  14. if ($#argv < 1) then
  15.     echo "usage: debugger command [args]"
  16.     exit 1
  17. endif
  18.  
  19. set noglob
  20. if ($PVM_ARCH == "SUN4SOL2" || $PVM_ARCH == "SUNMP" || $PVM_ARCH == "X86SOL2") then
  21.     set hn=`uname -n`
  22. else
  23.     set hn=`hostname`
  24. endif
  25. exec xterm -title "${hn}:$argv[1]" -e $PVM_ROOT/lib/debugger2 $argv
  26.  
  27.